﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="blogedit.aspx.cs" Inherits="chatblog.blogedit" Title="老友故事" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %> 

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link href="../Stylesheet1.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            color: #666666;
        }
        .style2
        {
            color: #666666;
            
        }
        .style3
        {
            
        }
    </style>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="width:100%; height:80px;
border-bottom-color: Gray; border-bottom-width: 1px;
        border-bottom-style: solid;
        background-image: url(../img/bloghead.gif);
                                            background-position: left; background-repeat: no-repeat;">
    <asp:HyperLink ID="HyperLink_default" runat="server" Font-Bold="true" Font-Size="Large">首页</asp:HyperLink>
</div>
    <asp:Panel ID="Panel_manage" runat="server">
        <a href="../blog/blogedit.aspx">写博客</a> &nbsp; <a href="catalist.aspx">分类</a> &nbsp; <a href="blogsetting.aspx">
            设置</a> &nbsp;
    </asp:Panel>
    <div>
   标题: <asp:TextBox ID="TextBox_title" runat="server" Width="321px"></asp:TextBox>
   <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="TextBox_title" ErrorMessage="不能为空!"></asp:RequiredFieldValidator>
        <br />
        博客分类:<asp:DropDownList ID="DropDownList_cata" runat="server">
        </asp:DropDownList>
            <asp:CheckBox ID="CheckBox_pub" runat="server"  
            Checked="false"  Text="是否隐私" TextAlign="Left" />
        &nbsp;邮件订阅范围:<asp:DropDownList ID="DropDownList_group" runat="server">
        </asp:DropDownList>
        &nbsp; 区域:<asp:DropDownList ID="DropDownList_area" runat="server">

        </asp:DropDownList>&nbsp;<br />
        提问积分:<asp:DropDownList ID="TextBox_point" runat="server">
                    <asp:ListItem>0</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>50</asp:ListItem>
            <asp:ListItem>100</asp:ListItem>
            <asp:ListItem>200</asp:ListItem>
        </asp:DropDownList>
        
         <span class="style2">(你的可用积分为</span><span class="style3"><span class="style1"><asp:Label 
            ID="Label_kyjf" runat="server" style="color: #CC0000" Text="0"></asp:Label>
        </span></span><span class="style2">, 提问请设置积分)</span>
        </div>
<div>
<FCKeditorV2:FCKeditor ID="Fck_Content" runat="server" Height="500px" Width="100%"></FCKeditorV2:FCKeditor> 
</div>
<div>
    附件:<asp:FileUpload ID="FileUpload_fj" runat="server" />
    &nbsp;<asp:HyperLink ID="HyperLink_existfile" runat="server" Visible="false">现有附件</asp:HyperLink>
    <asp:Button 
        ID="Button_clearfile" runat="server" Text="移除现有附件" onclick="Button1_Click"  Visible="false"/>
    <br />
    <asp:Button ID="Button_ok" runat="server" Text="提交" onclick="Button_ok_Click" />
    <asp:Button ID="Button_cancel"
        runat="server" Text="取消" onclick="Button_cancel_Click" />&nbsp;</div>
</asp:Content>
